add resend speed calc
add synchronization for queue_add()