Add method for disconnecting long jobs