When uploading to MEGA2560, avrdude keeps on infinite loop trying to find the board and never quits if the board is not found.
The message is:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] .  .  .  . [0e] .  . 
Is there any way for it to behave the same way as stk500v1 and Duemilanove, which is if it doesn't find, it retries only once and quits?