SQL Event broker integration is increasing the bot response time

Hi, I have integrated my product bot with Sql Event Broker with postgres. But the bot response time increased from around 2-3 seconds to 20 seconds. Why is this happening ? Is there any way out of this ? If rasa is taking time to push the events to db and then respond, can we do the other way? (Respond first and then push events?). Following is how my endpoints looks like.

action_endpoint:
  url: "http://localhost:5055/webhook"


event_broker:
  type: SQL
  url: localhost
  username: xxxxx
  password: xxxxx
  dialect: postgresql
  port: 5432
  db: rasa_events

You can review the --debug output to see where the time is being spent. With Rasa Pro you can enable tracing.