Fixed bug where closed app said no connection