The town may obtain short-term loans and must repay such loans not later than the end of its fiscal year, unless otherwise provided by law.