title: BugCheck 0xCE: DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS
body: <p>Doing a kernel-driver and every once in a while upon completing the Driver Close subroutine I'll get this bugcheck code. </p>
  
  <p>It seems straightforward as to what exactly is going on, but I'm not sure the most foolproof way to solve it.</p>
  
  <p>Is there a way in the driver unload method to wait for other events to finish, or to cancel them before the driver unload subroutine returns?</p>
  
  <p><strong>EDIT:</strong> Just a note: This bugcheck is raised on return - the very last log before the return statement is outputted successfully.</p>