adding time limit in s_async_queue + using s_thread