Check joinability of threads before joining
Partially implement reconnection
Actual reconnection!