change how it disconnects