fix lookback bug in network interrupt handling (from cgd@postgres)