Set some connection parameters for safety