Added a delayed disconnect capability