adjust sleep interval