[BUGFIX] Disconnect HTTP connection in case of exception