Added and implemented sending thread with queue that is updated by ACKs