fix: cleanup socker error handler on response