added thread exception abortion, replaced send method with print