Able to set listening timeout