Register MXBean only during start