Added catches to unblock the game in case of errors.