Use a global handle to store the process-wide context