Add two functionalities.
1. Reconnect by updating all changes since last disconnect.
2. Adjust monitor delay when number of files to monitor changed if necessary.