Function to destroy the worker. Currently, this is not used in this library.
But, you can call this function from your application if you have access
to the HttpWorker object to destroy it.
This method is called before any requests are processed. This can be used
to complete any initialisation needed before the worker can call
processRequest.