Make sure to clean up the global object