Better GCC version detection
Ensure to sleep the right time before reconnection