Max number of failed attempts to connect