Recreating state machine for every message