Fix : return response and don't terminate the script anymore.
Merge pull request #9 from tridungpham/master

Let the developer handle the internal error.