Anetwork implementation extend check when socket are closed