Kevin Magnussen managed to narrowly avoid hitting the barriers as he lost control of his Haas during P2.