Implemented pause, reseting after lost connection