Storminiport uninstallation ask for reboot....

I have installed storminiport driver and file system has been mounted over it .and then i do io by using the io meter.
After this i uninstall my miniport driver.It unstall successfully.

I follow the same procedure for second time.It ask for reboot.I ensured that storminiport driver is not opened any outstanding handle or refferences.The issue is that disk/partion mgr loaded above the miniport driver cannot be unloaded i.e. during first time unstallation , i can uninstall the LUN without any issue.For second time,it ask for reboot.

what could be the potential reason for this.how to see that disk/partmgr driver doent hold any refference/open handle while unistalling.is there any utilities for this.

Thanks in advance,

One thing i forgot to mention that:

while uninstalling for second time,when the issue happenes(i.e. ask for reboot to uninstall the driver),

if i delete the volume from devmgmt ,then unstallation works fine.

thanks,