added disconnect function; wait 8 seconds after kill command