test socket file availability.