switched from interval to timeout in order to fix an issue on iOS where timer wasnt properly cleared