Updating sleep timer code to fix 'Play All'

Without changing the return value to a positive value, 'Play All' would
continue playing after the timer elapses.