clean up stockfish worker api