Return empty bytes on socket close