Getting message USB device not connected

About twice a week I get a pop up message
that says A USB device is not connected. Its my WD passport and so I disconnect
it and wait a minute and after I connect it back up all is well. I don’t think
this is suppose to be that way. Any suggestions? Thanks,

Sometimes the preferences on a computer can make that after certain ammount of time with a device conected it is going to be automatically disconnected, which OS are you using?