Changed from polling to conditional from communication between carFunc <-> exitFunc/entryFunc