Use set replication force off to turn off all replication to the standby database.
set replication off