Streamline set_sleep call