Added set statement_timeout to ensure that commands are executed.