Increase connection timeout if remote_debug=true.

Increase connection timeout if remote_debug=true, in order to give the remote debugger enough time to properly connect.