set monitorIntervalId to be able to stop monitoring