Since drwr is like the smartest person ever, let me just quote him from another thread:
[Help with closing primitives)