delete HTTP connection if closed