change transmition mode from cdcSendDataInBackground to cdcSendDataWaitT...

...ilDone

old method give issues if data on Stack should be transmited and the stack get cleaned up in the main function during the background process