Fix issue when there is no microphones on the system causing the program to halt and stay open