Added custom ThreadFactory to name thread used for checking socket status