stop and actually wait for session to stop.