Fix bug where reloading these modules made it impossible to catch HTTPErrors