Improved performance of JMX add document by not waiting for the task to finish.