Make wait for database longer