Restarting mysqlds and sleeping before importing any sql