Added rate limiting/bucket mechanism. TODO: implement add_request_to_waiting_line method.