diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go
index <HASH>..<HASH> 100644
--- a/lnwallet/wallet.go
+++ b/lnwallet/wallet.go
@@ -259,6 +259,7 @@ func (l *LightningWallet) Stop() error {
 	}
 
 	l.wallet.Stop()
+	l.rpc.Shutdown()
 
 	close(l.quit)
 	l.wg.Wait()
lnwallet: shutdown rpc connection during stoppage