title: Controlling destroy() method
body: <p>I'm trying to shutdown my application gracefully.So when the application shutdown is triggered, I need to make the shutdown process wait for configured number of seconds, during this time I would still service few requests.</p>
  
  <p>I have been trying to use wait/sleep in the destroy() method, but the context is already destroyed at this point. My understanding is that destroy() would be called by the container. Is it possible to control the destroy method and delay the start of the shutdown process?</p>
  
  <p>Thanks.</p>