Add conditionnal for JMX listener