Try a clean up but it is buggy
search the web for "possible regression from pl-5.4.7 to pl-5.6.27" to see reasons

C# | Visual Basic | Visual C++ | F# |
public static void PlCleanup()
Public Shared Sub PlCleanup
public: static void PlCleanup()
static member PlCleanup : unit -> unit

Use this method only at the last call before run program ends
Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)