[KARAF-3254] Very high memory consumption with the watch command