fix release lock

better release lock even exception caused.