issue-4: added timeout options for databases