Add sleep calls to remote pages