Fixed timeout being triggered for all cross domain posts

Timeout fires an error every time for cross domain post using iframe. Fix ensures the timeout is cancelled when the target iframe loads