State: check close conditions when the context is just opened
State: check close conditions when the context is just opened

Signed-off-by: Tibor Benke <e85838fff2370999fe2ec8acada0a7175102ba89@gmail.com>

ihrwein/correlation