resending packet 3 times on timeout of 1 second