added guard to shut down jstack interval