Fix TCP close test case
Only use longjohn in development mode