Add callback for disconnection
	cleanups
	closes #6