Added cancel callback to server.go