Ad hoc bank taxation and credit supply