As there are some open files in it it asks for confirmation which is as follows:
There are open files and/or incomplete directory searches pending on the connection to Y:.
Is it possible to provide execute the command providing interactive input as Y using Net::SSH::Perl