Fixed issue with clients disconnecting, demo