fix for issue #256 " Database connection time out exceptions\