make sure only create one post and profiling threads to avoid resource leak: the middleware is created twice in jruby-rack rails 2.3.18 application
0.5.4