what if company terminated after taking loan