Metal pipe with a threaded