Hi,
As listed in an October 2014 post in this thread there can be issues sometimes in both USB and Firewall device counts.
i.e. the computer can think there is something still connected when there is not.
Depending on which files might have been in use any File Directory might be effected.
A bit like when you put some files in the Trash but the system says they are "In Use" until the time you restart the computer and they are "let go" so to speak.
Mostly it depends if the disk or drive is actually in use at the time or whether it is idle with no data transfer going on.
It is very difficult to say precisely as each incident is different in terms of what is going on between computer and device.
9:00 pm Wednesday; June 29, 2016
iMac 2.5Ghz i5 2011 (El Capitan)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
iPhone and an iPad (2)