Fixed issue where karma:unit:run would hang.