Using greenlets to print stack trace