The court may, in proper cases, give exemplary damages, including reasonable attorneys fees, in favor of the defendant for the plaintiff's wrongful suing out of this possessory action or in the event that the plaintiff fails to prosecute the action after it has been instituted.