Fix ArrayBuffer.sort issue with element size >1
Fix network de-initialisation on Linux
Fix reference count issue caused by removing a timer that had already been removed