Added check before calling body.destroy