rhoapi.js: callbackHandler is reverted to working state