I totally agree,
maybe the real problem is that the Environment interface doesn't implement the close() method
like it seems to be intended from my understanding of the DevGuide:
http://docs.jboss.com/jbpm/v4/devguide/html_single/#d0e2485
org.jbpm.api.cmd.Environment is part of the public API in 4.4 or do I miss something here?