cocaine framework compatibility fix
Add more logs
fix goroutines leak