changed timeout for db from 10 to 15 seconds