[BISERVER-11770] Shutting-down existing scheduler properly so it's not o...

...rphaned in the JVM preventing JVM shutdown.