Bug in listener thread re-starting (not allowed)