Minidlna prevents KDE from exiting lock screen

I installed minidlna server. Everything works well except one thing. If minidlna runs and KDE went to lock screen it’s impossible to unlock it with the right password.

The only way to unlock is to go to another virtual terminal, login, stop minidlnad, back to KDE lock screen and unlock it.

Any ideas?