Added statement timeout for PostgreSQL