resolve fixme in ruby client
remove existing server side mining callbacks before starting to mine