due to the rpc behaviour in server side changed(wallet_open will close and open again, means state will change to lock), update the open behaviour in browser side, if current wallet state is open, not to call again, directly check lock