make end of label detection platform dependent

remove timeout check for socket based printing e.g. 172.16.2.31:9100 will not try a ping prior to writing to port 9100