Fixed leak for server creation/destroy