I tried that and it still crashes. I don't think that's the problem. Puneet, the code looks legit, please file a bug report.