Nvv4l2decoder plugin is not shutting down cleanly and leaking memory

I have the exact test setup as yours. The RTSP server is launched by running test-launch , following steps in Jetson Nano FAQ
Now i exit the test-launch and restart. The nvgstplayer reconnects the test-launch server whenever its back online, Everytime i do this sequence, memory consumption by nvgstplayer-1.0 keeps increasing. Here is the log on the jetson nano

./nvgstplayer-1.0 --uri rtsp://192.168.71.80:8554/test --window-x=0 --window-y=0 --window-width=1920 --window-height=1080 --svs=“fakesink” --loop-forever
At the start
27262 rgb 20 0 1287340 50864 23344 S 21.6 1.3 0:03.84 nvgstplayer-1.0

After restarting test-launch 4 times

Error by /GstPipeline:player/GstRTSPSrc:rtspsrc6: Could not open resource for reading and writing.
debug info:
gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:player/GstRTSPSrc:rtspsrc6:
Failed to connect. (Generic error)
Error by /GstPipeline:player/GstRTSPSrc:rtspsrc7: Could not open resource for reading and writing.
debug info:
gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:player/GstRTSPSrc:rtspsrc7:
Failed to connect. (Generic error)
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261

27262 rgb 20 0 1343912 60488 23616 S 22.3 1.5 0:45.46 nvgstplayer-1.0

After restarting test-launch 5th time

27262 rgb 20 0 1343912 77476 23616 S 25.2 1.9 0:59.36 nvgstplayer-1.0

After about 5 restart of test-launch
27262 rgb 20 0 1343912 81236 23948 S 28.5 2.0 1:26.99 nvgstplayer-1.0

After about 3 restart of test-launch
27262 rgb 20 0 1343912 98520 23948 S 21.6 2.4 1:51.04 nvgstplayer-1.0

After about 7 restarts of test-launch
27262 rgb 20 0 1343912 107344 24276 S 24.7 2.6 2:20.68 nvgstplayer-1.0

After about 2 restarts of test-launch

27262 rgb 20 0 1343912 116600 23948 S 24.7 2.9 3:03.38 nvgstplayer-1.0