making the sfdc callback synchronous