Send in goroutine and fix error handling