fix(server.go) 

we should clean the commit channel after the receiver receives the message; or the receiver might receive on a nil channel, which will cause timeout