Fixed terrible pi crash when stressed.