Closing bottles, jars or similar containers by applying caps by applying and rotating preformed threaded caps