Call session_write_close() within redirect()