Winter is possibly not coming: Mitigating financial instability in an agent-based model with interbank market