If you remove the the try..catch you will notice that OwnerTerminated is thrown, if this is the intended behaviour, I don't know. Probably is,because this would be a pretty obvious bug.
Ah right, so i guess the main thread is finishing and throwing the exception to writer before sender has sent anything?
