remove stack trace printing which was causing memory issues