Fixed problem with Listen not returning an error