EJBCLIENT-97 Don't call flush() before close to improve performance