What was your exit handler? SEH? Thread or process? (or whatever the options are)
They're options available for the msfpayload command, have a look through MSFU if you need on the offsec site.
I like to play with all three handlers if I am not sure which to use, but normally it's a thread exit for me.