Handling ResourceInUseException better #36