SetPDSDefaults returns eQCWWAN_ERR_QMI_DEVICE_IN_USE 1023 - Device currently in a call



I work on Linux 32bit and I am currently developing an application based on pdsserviceshosti686 functionality.
I SetPDSDefaults at Startup of my application, which works fine at first startup.
But when I leave the program with STRG+C, the modem stays in a GPS enabled and Tracking enabled state.
When I start my application again, i receive eQCWWAN_ERR_QMI_DEVICE_IN_USE 1023. How can this error be dealt with?