sleep to give file i/o some time