added timeouts, fixed skewed dates, better exception handling