Disconnect from DB before running workflow.