Wlan Scanning Problem

Hi everybody,
I have a problem about scanning wlan with version 5.25 and up.(Sxt 5Hpnd all my devices)
Before i used this command;

interface wireless scan wlan1 freeze-frame-interval=1

and also i tried this command;

interface wireless scan wlan1 duration=10

Before i used these,but now when i tried always i got errors and it disconnects me ! (error: connection abort) (Via Ssh)

Anybody knows for easy solution ? Or export all scanning list to file section or any solution ?

Thanks in advance for your interest and assistance

Can u try it via Winbox terminal

Yes i tried. But terminal disconnect me.Ssh is more good for scanning i think