add broadcast message to terminate