Added the forceDisconnect method and a possible exception on disconnect