move stop listing task to own method