ALDL 8192 (GM ODB-I)

I have modified code running somewhat. It is too big to post. Forget what I said about sync earlier.
My current issue is syncing when to send the ALDL mode one command. My ECU spits out F0 55 BB, I am not getting a reliable connection. When I add code to look for that, then I cannot sync. If I leave that code out, eventually it syncs up. There has to be a better way.