improve active_queue; implemented a timer_service to be able to schedule offline tasks