Solve race condition between logging VM's modified chunk and stopping
monitoring service