Add msleep() function to sleep for n minutes.