PHP caches connections within any given script run, so multiple connect calls with the same params will return the same connection.
Unlike persistent connections this caching only occurs within a single script run.
As you found, you can disable this caching with the force new flag - PGSQL_CONNECT_FORCE_NEW.