Upgrade in a separate thread
Disable strict mode to prevent problems