Added a disconnect for pre-forking environments.