-1 is not a valid value and it cause constant timeout after a reconnection