refactor(server.go) try non-blocking send first