move disconnect inline to job