Switching to another heap if requested is locked