First attempt at multithreading peer connections