No employer shall discharge an employee for the reason that a creditor of the employee has subjected or attempted to subject unpaid earnings of the employee to a writ of garnishment directed to the employer: PROVIDED, HOWEVER, That this provision shall not apply if garnishments on three or more separate indebtednesses are served upon the employer within any period of twelve consecutive months.