Merge pull request #761 from bvssvni/master

Added `should_close`
Reexport ai_behavior under piston