Close body avoiding recursive locking with Rack