Move polling to C side; send messages only when required.