wait for 20msec if signal received