Added enforcement of single active statement per transaction context, as well as interaction blocking after closing a statement