Fix issue with differing responses by nexmo client
Remove unused keyword end