errors are thrown when we get futures, not on waiting
update sample config file
add connection timeout when getting folders
use setInterval instead of setTimeout
add new log file