make sure to stop interval if transport closes