Mac - sending empty data on socket can cause Finder crashes