Added stopping connections, canceling existing send threads and addressed code review feedback