Fix #72 Add reopen handler