Ṕut closesocket() to common