Add --idle option: if enabled, stratum listener stops in case the connection with the pool is lost, it might be useful for configuring a backup pool in the stratum workers (in case of proxy failure, connection will be lost and miner software will use the backup)