Do some state checking in pipelining