Add /health page and better handling of mutex