Removing return in monitor to avoid death of the thread