The first case is were the mining ships don't check to see if their storages are full or if the salvagers are even hooked up. This results in items picked up going into the void.
The Next case is what happens when they finish mining an asteroid. At this point they'll refuse to go looking for a new one and won't do anything but idle if you try and give them the Mine Sector Command.