We should deactivate NewRelic logging for some time to prevent a hanging process. Write a test that simulates the hanging and implement a functionality to store the information locally. Make a service where you can ask for a heartbeat.