Fix crash when connection to the master mp server fails