Close connection on disable.