Updated xenon to non-daemon-thread version. Do not used daemon threads
in the webservice. Safely handle multiple calls to end()