Fixed broken autocommit=false in OSGi mode - closes #238