phalcon_session_write_close()
Use session_write_close() in Phalcon\Session\Adapter::__destruct()

(cherry picked from commit cfd1909ce503b118464bc67085c381ed85cb8ef8)