Improved logs and exception message; Added ability to change polling interval