Fix for SMB shares and MySQL connection after resume

Details here:
http://forum.xbmc.org/showthread.php?tid=166430
and here:
http://openelec.tv/forum/76-network-filesystems/63282-problem-with-network-shares-after-sleep-or-wake-up