monitor wasn't closed properly by monitor.close()

`monitor.close()` doesn't stop watching the monitoring directory.

This bug is caused by a simple typo :sweat_drops: