Call session_write_close() from Phalcon\Session\Adapter::__destruct()

This is intended to fix #1624