eager load sleep function