Game Randomly freezes

Have seen this bug multiple times already, no specific condition to reproduce it it is just that the game freezes and then nothing happen in the game, However you can still access the game ui (menu, click your units, issue commands but nothing gets exectuted, So you are forced to quit the game .