Use custom stop message to manage connection