Queue lenght parametr in sleep_before_packet() function