Application hung at start up due to deadlock in APM Java Agent.