Fix #3 Properly disconnect http protocol.