Prevented disconnection messages before connection.