A faster 'writeModemCommand' based on timeout instead of delay

When dealing with something as slow as a modem you might want to wait for the first character to come through before you execute this script? If you don't it might fail on the first 'while(available())'.