Ros2 callback in gazebo plugin not triggering after some time

I wrote a model plugin in ros2 humble. this plugin subscribe another ros2 node and get some values. When I launch files, callback function that in model plugin stopped after 1-2 minutes but plugin codes continue to work and only callback isn’t triggered. Could anyone help why ros2 callback stopped suddenly in gazebo model plugin.